﻿using System;
using Epam.PeopleInterfaces;

namespace Epam.PeopleModel
{
    public class ViewNewsEntity:IViewNewsEntity
    {
        public Guid Id { get; private set; }

        public string Text{get; private set; }

        public string Title { get; private set; }

        public DateTime Created { get; private set; }

        public ViewNewsEntity(Guid id,string text, string titel, DateTime created)
        {
            Id = id;
            Text = text;
            Title = titel;
            Created = created;
        }
    }
}
